#! /bin/bash
REPORTS_LOCATION=reports/ERead/*.xls

for f in $REPORTS_LOCATION
do
	echo "Processing $f file...."
	sed 's/\t/,/g' $f > $f.csv
done

php ./parseEnergyCSV.php fullRestore ERead
rm -rf $REPORTS_LOCATION.csv
